using System;
using System.Data.SqlTypes;

using System.EnterpriseServices;

using System.Collections;



namespace Gencode
{
	/// <summary>
	/// Summary description for GameQuestionList.
	/// </summary>
	
	public interface IGameQuestionInfo
	{
		Int32 ID{get; set;}
		Int32 QuestionID{get; set;}
		Int32 ClassID{get; set;}
		Int32 SubjectID{get; set;}
		Int32 Round{get; set;}
		String Description{get; set;}
		Int32 GameID{get; set;}
		Int32 Type{get; set;}
        String CodeName { get; set;}
        Int32 RoundID { get;set;}
	}


	
	public class GameQuestionInfo:
    IGameQuestionInfo
	{	
		private Int32 n32ID;
		private Int32 n32QuestionID;
		private Int32 n32ClassID;
		private Int32 n32SubjectID;
		private Int32 n32Round;
		private String strDescription  = null;
		private Int32 n32GameID;
		private Int32 n32Type;
        private String strCodeName = null;
        private Int32 n32RoundID;
		
		public GameQuestionInfo()		
		{
		}	
		
		public Int32 ID
		{
			get
			{
				return n32ID;
			}
			set
			{
				n32ID = value;
			}
		}
		public Int32 QuestionID
		{
			get
			{
				return n32QuestionID;
			}
			set
			{
				n32QuestionID = value;
			}
		}
		public Int32 ClassID
		{
			get
			{
				return n32ClassID;
			}
			set
			{
				n32ClassID = value;
			}
		}
		public Int32 SubjectID
		{
			get
			{
				return n32SubjectID;
			}
			set
			{
				n32SubjectID = value;
			}
		}

        // Ten cua vong thi
		public Int32 Round
		{
			get
			{
				return n32Round;
			}
			set
			{
				n32Round = value;
			}
		}

        // Ma cua vong thi
        public Int32 RoundID 
        {
            get 
            {
                return n32RoundID;
            }
            set 
            {
                n32RoundID = value;
            }
        }

		public String Description
		{
			get
			{
				return strDescription;
			}
			set
			{
				strDescription = value;
			}
		}
		public Int32 GameID
		{
			get
			{
				return n32GameID;
			}
			set
			{
				n32GameID = value;
			}
		}
		public Int32 Type
		{
			get
			{
				return n32Type;
			}
			set
			{
				n32Type = value;
			}
		}

        public String CodeName 
        {
            get 
            {
                return strCodeName;
            }
            set 
            {
                strCodeName = value;
            }
        }
	}
}